using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace sbMembership.Library.Domain
{

    public class sbUser
    {
        public sbUser(string userName, string password, string email)
        {
            UserName = userName;
            Password = password;
            Email = email;
        }

        private string userName = "";

        public string UserName
        {
            get { return userName; }
            set {
                if (value == null)
                {
                    throw new ArgumentNullException("UserName cannot be set to null");
                }

                userName = value; }
        }

        private string password = "";

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }
	
	
    }
}
